package com.gitee.ywj1352.producer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * Created by wenjie.yang on 6/26/2018.
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.gitee.ywj1352.producer.mapper")//mapper的扫描
public class ProducerServer {

    public static void main(String[] args) {

        SpringApplication.run(ProducerServer.class);
    }

}
